package indi.zhifa.study2024.nbr.logic.curd.consign.service;


import indi.zhifa.study2024.nbr.gen.busy.consign.entity.GenConsignHeadEntity;
import indi.zhifa.study2024.nbr.logic.curd.consign.entity.request.ConsignBillCreateRequest;
import indi.zhifa.study2024.nbr.logic.curd.consign.entity.request.ConsignBillModifyRequest;
import indi.zhifa.study2024.nbr.logic.curd.consign.entity.response.ConsignVo;
import indi.zhifa.study2024.nbr.enums.bill.EBillStatus;

public interface IConsignService {
    ConsignVo create(ConsignBillCreateRequest pConsignBillRequest);
    ConsignVo info(Long pId);

    /**
     * 这里仅仅是模拟，现实项目会有提交审核的过程，这里粗暴的改变状态
     */
    GenConsignHeadEntity changeStatus(Long pId, EBillStatus pEBillStatus);
    ConsignVo edit(Long pId, ConsignBillModifyRequest pConsignBillModifyRequest);
    ConsignVo delete(Long pId);
}
